// Lottery2.h : main header file for the Lottery2 application
//
#pragma once
#pragma warning(disable:4267)
#include <boost/signals2/signal.hpp>

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"       // main symbols



// CLottery2App:
// See Lottery2.cpp for the implementation of this class
//


class CLottery2App : public CWinApp
{
public:
	CLottery2App();

public:
	void CheckStart();
	

public:
// 	src::logger_mt m_log;
 	boost::signals2::signal<void (int,BOOL,BOOL&)> m_sigOpenM;

protected:
	void init_log();
	void OpenMatch(int id,BOOL bNewPage=FALSE);
	

// Overrides
public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();

// Implementation
	afx_msg void OnAppAbout();
	afx_msg void OnFileNew();
	DECLARE_MESSAGE_MAP()
};

extern CLottery2App theApp;
